package yyds;

import java.sql.SQLOutput;

public class ArrayTest {
    public static void main(String[] args) {
        //    动态初始化二维数组
        int[][] a = new int[1][2];
//    静态初始化二维数组
        int[][] b = new int[][]{{1, 2, 4}, {34, 6, 2,9}};
        int[][] c = {{1, 2, 4}, {34, 6, 2,9}};
        for (int i = 0; i <c.length ; i++) {
            for (int j = 0; j <c[i].length ; j++) {
                System.out.print(c[i][j]+""+'\t');
            }
            System.out.println();
        }
    }

}
